//
//  BHUserListModel.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/8/11.
//

import UIKit

class BHUserListModel: NSObject {
    var userName: String = ""
    var userAvatar: String = ""
    var userId: String = ""
    var signName: String = "" // 趣玩报名的姓名
    
    
    var attentionFalg: Int = 0
    
    // 本地记录
    var type: Int = -1
    

    
    
    func parseDic(_ dic: [String:Any]) {
        self.userName = BHJsonTool.decodeStringFromDic(dic: dic, key: "userName")
        self.userAvatar = BHJsonTool.decodeStringFromDic(dic: dic, key: "userAvatar")
        self.userId = BHJsonTool.decodeStringFromDic(dic: dic, key: "userId")
        self.signName = BHJsonTool.decodeStringFromDic(dic: dic, key: "signName")

        self.attentionFalg = BHJsonTool.decodeIntFromDic(dic: dic, key: "attentionFalg")
    }
}
